package com.jyw.business.de.domain.vo.web;

import com.jyw.common.core.domain.entity.SysDictData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("需求类型查询实体")
@Data
@NoArgsConstructor
public class DemandTypeVO {

    @ApiModelProperty("类型标签")
    private String dictLabel;

    @ApiModelProperty("类型值")
    private String dictValue;

    @ApiModelProperty("数据总数")
    private Integer count;

    public DemandTypeVO(SysDictData data) {
        setDictLabel(data.getDictLabel());
        setDictValue(data.getDictValue());
        setCount(0);
    }
}
